﻿using System;

namespace Evpo.ContactData.Common
{
    public class ContactQueryParameters : ListQueryParameters
    {
        public ContactQueryParameters()
        {
        }

        public ContactQueryParameters(ContactQueryParameters pmt)
        {
            SortField = pmt.SortField;
            base.CopyProperties(pmt);
            FirstNameContains = pmt.FirstNameContains;
            LastNameContains = pmt.LastNameContains;
        }

        #region Fields
        #endregion

        #region Properties
        public ContactSortFields SortField { get; set; }
        public string FirstNameContains { get; set; }
        public string LastNameContains { get; set; }
        #endregion

        #region Methods
        #endregion Methods
    }

    public enum ContactSortFields
    {
        Default,
        FirstName,
        LastName
    }
}
